import {request} from "@/service/request";

export function fetchBucketList(params?: any) {
  return request<BizApi.Storage.BucketInfo>({
    url: "/storage/buckets",
    method: "get",
    params: params
  })
}

export function fetchDocList(params?: any) {
  return request<BizApi.Storage.DocInfo>({
    url: "/storage/docs",
    method: "get",
    params: params
  })
}
